
Array.prototype.contains = function (i) {
    return this.indexOf(i) > -1;
}